
package biblio.bean;


import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;


/**
 *
 * @author mephisto
 */
@ManagedBean(name="catBean")
@RequestScoped
public class CategoryBean
{
    public int getId()
    {
        return id;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getMasterName()
    {
        return masterName;
    }

    public void setMasterName(String masterName)
    {
        this.masterName = masterName;
    }

    public void clear()
    {
        id = 0;
        name = "";
        masterName = "";
    }

    
    private int id;
    private String name;
    private String masterName;
}
